//
//  houseHeaderView.m
//  PropertyMananger
//
//  Created by Mansion on 16/12/31.
//  Copyright © 2016年 BH. All rights reserved.
//

#import "houseHeaderView.h"

@implementation houseHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{

    self = [super initWithFrame:frame];
    if (self) {
        
        self.headerLabel = [[UILabel alloc]init];
        [self addSubview:self.headerLabel];
        self.headerLabel.font = BHFont(15);
        self.headerLabel.textColor = BHColor(51, 51, 51);
        self.headerLabel.textAlignment = NSTextAlignmentLeft;
        
        [self.headerLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.leading.equalTo(self).with.offset(15);
            make.centerY.equalTo(self).with.offset(0);
            make.size.mas_equalTo(CGSizeMake(50, 25));
        }];
    }
    
    return self;
}

@end
